<?php


namespace App\Model;


use Illuminate\Database\Eloquent\Model;

/**
 * App\Model\OrderGoods
 *
 * @property int $id
 * @property int $order_id 订单ID
 * @property int $goods_ids 商品ID
 * @property int $number 商品数量
 * @property float $total_price 总价格
 * @property \Illuminate\Support\Carbon|null $created_at
 * @property \Illuminate\Support\Carbon|null $updated_at
 * @property string|null $deleted_at
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\OrderGoods newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\OrderGoods newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\OrderGoods query()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\OrderGoods whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\OrderGoods whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\OrderGoods whereGoodsIds($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\OrderGoods whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\OrderGoods whereNumber($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\OrderGoods whereOrderId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\OrderGoods whereTotalPrice($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\OrderGoods whereUpdatedAt($value)
 * @mixin \Eloquent
 */
class OrderGoods extends Model
{

    protected $fillable = ['order_id', 'goods_id', 'number', 'total_price', 'created_at', 'updated_at'];

}
